new function gdk_window_at_pointer() to retrive the current GdkWindow the
authorTim Janik <timj@gtk.org>
Wed, 17 Jun 1998 08:48:22 +0000 (08:48 +0000)
committerTim Janik <timj@src.gnome.org>
Wed, 17 Jun 1998 08:48:22 +0000 (08:48 +0000)
commit7d0331a679c00c20db87822739e7544c67c6c2fe
treeca044e4a14619f6534aff6997b4212d6a0535fba
parent7bb4d7d961d2856f235db861c93a4838ae7b4f50
new function gdk_window_at_pointer() to retrive the current GdkWindow the

Wed Jun 17 03:47:40 1998  Tim Janik  <timj@gtk.org>

        * gdk/gdk.h:
        * gdk/gdkwindow.c: new function gdk_window_at_pointer() to retrive
        the current GdkWindow the pointer is on if there is any.

        * gtk/gtktable.c (gtk_table_init): preallocate a table with one row
        and one column, so we don't construction logic at all. changed a few
        (x < y - 1) to (x + 1 < y), to avoid failing evaluations due to
        unsigned int wraps.

        * gtk/gtkwidget.c (gtk_widget_set_parent): removed left over code
        portion, added an additional check for parent != widget.

        * more GtkType and macro fixups.
22 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/gdk.h
gdk/gdkwindow.c
gdk/x11/gdkwindow-x11.c
gtk/gtkbox.c
gtk/gtkbox.h
gtk/gtkhbox.c
gtk/gtkhbox.h
gtk/gtkmisc.c
gtk/gtkmisc.h
gtk/gtkpixmap.c
gtk/gtkpixmap.h
gtk/gtktable.c
gtk/gtkvbox.c
gtk/gtkvbox.h
gtk/gtkwidget.c